package com.dnjn.mes.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dnjn.mes.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 节拍表
 * </p>
 *
 * @author Amber
 * @since 2023-07-27
 */
@Accessors(chain = true)
@Getter
@Setter
@TableName("mes_record_beat")
public class MesRecordBeat extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    @TableId(value = "record_beat_id", type = IdType.ASSIGN_ID)
    private Long recordBeatId;

    private LocalDateTime currentDatetime;

    private String dataType;

    /**
     * 单位秒
     */
    @TableField("data_value")
    private Integer dataValue;

    private String extValue;

    private Long equipmentId;

    @TableField(exist = false)
    private String hourMinute;

}
